package org.seedltd.upms.model.detection.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 订单绑定信息数据库对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/07/31
 */
@Getter
@Setter
@TableName("detection_order_binding")
public class DetectionOrderBinding {

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 订单主键
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 样板采集时间
     */
    @TableField(value = "sample_time")
    private Date sampleTime;

    /**
     * 采样者名字
     */
    @TableField(value = "username")
    private String username;

    /**
     * 采样者年纪
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 性别
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 手机号
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 样本类型
     */
    @TableField(value = "sample_type")
    private String sampleType;
}